package com.sumainfor.wx.system.feign.GmioFeign;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 功能描述:
 *
 * @Auther: zhlu
 * @Date: 2019/1/18 16:02
 * @Description:
 */
public interface GmioFeign {

    /**
     * 租赁备案查询居住证列表
     **/
    @GetMapping("/housekeeper/HoLivecard/getHoLivecardList")
    JsonResult getHoLivecardList(@RequestParam Map<String,Object>params, Pager pager);

    /**
     * 租赁备案确认办理
     **/
    @PostMapping("/housekeeper/HoLivecard/updateHoLivecard")
    JsonResult updateHoLivecard(@RequestBody Map<String,Object>params);

    /**
     * 服务管家退租的时候查询上次的燃气抄表数
     **/
    @GetMapping("/secretary/HoGasMeter/getHoGasMeterLast")
    JsonResult getHoGasMeterLast(@RequestParam Map<String,Object>params);

    /**
     * 根据合同编号查询该合同是否存在未审核的退租表
     **/
    @GetMapping("/housekeeper/HoWithdrawal/getHoPactWithCount")
    JsonResult getHoPactWithCount(@RequestParam Map<String,Object> params);

    /**
     *填写退租表时查询未缴费账单
     */
    @GetMapping("/housekeeper/HoTenantBill/getTenantBillWithdraList")
    JsonResult getTenantBillWithdraList(@RequestParam Map<String,Object>params);

    /**
     *查询房源的水电燃收费标准
     */
    @GetMapping("/director/DiChargesDept/getChargesDept")
    JsonResult getChargesDept(@RequestParam Map<String,Object> params);

    /**
     *服务管家退租的时候查询上次的水表抄表数
     */
    @GetMapping("/secretary/HoEleMeter/getHoEleMeter")
    JsonResult getHoEleMeter(@RequestParam Map<String,Object>params);

    /**
     *退租账单根据客户编号和房源详表编号查询合同已产生的金额
     */
    @GetMapping("/housekeeper/HoTenantBill/getHoProduceMoney")
    JsonResult getHoProduceMoney(@RequestParam Map<String,Object>params);

    /**
     * 服务管家退租生成退租结算单
     **/
    @PostMapping("/housekeeper/HoWithdrawal/addHoWithdrawal")
    JsonResult addHoWithdrawal(@RequestBody Map<String,Object> params);
}
